package com.example.drools;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class R {
    Integer code;
    String msg;

    public R ok(Integer code , String msg){
        return new R(code,msg);
    }
}
